﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Shop.Core.Domain.Media;

namespace Shop.Core.Domain.Catalog
{
    /// <summary>
    /// 制造商
    /// </summary>
    public partial class Manufacturer : BaseEntity<int>
    {
        /// <summary>
        /// 制造商名称
        /// </summary>
        public virtual string Name
        {
            get;
            set;
        }

        /// <summary>
        /// 描述
        /// </summary>
        public virtual string Description
        {
            get;
            set;
        }

        /// <summary>
        /// 制造商模版Id。
        /// </summary>
        /// <remarks>
        /// 与之对应的有模版表。
        /// </remarks>
        /// <see cref="Shop.Core.Domain.Catalog.ViewTemplate, Shop.Core"/>
        public virtual int TemplateId
        {
            get;
            set;
        }

        /// <summary>
        /// Meta关键字
        /// </summary>
        public virtual string MetaKeywords
        {
            get;
            set;
        }

        /// <summary>
        /// Meta描述
        /// </summary>
        public virtual string MetaDescription
        {
            get;
            set;
        }

        /// <summary>
        /// Meta Title
        /// </summary>
        public virtual string MetaTitle
        {
            get;
            set;
        }

        /// <summary>
        /// search-engine name
        /// </summary>
        public virtual string SeName
        {
            get;
            set;
        }

        /// <summary>
        /// 图片相对地址
        /// </summary>
        public virtual Picture Picture
        {
            get;
            set;
        }

        /// <summary>
        /// 是否发布此制造商信息
        /// </summary>
        public virtual bool Published
        {
            get;
            set;
        }

        /// <summary>
        /// 是否已经删除
        /// </summary>
        public virtual bool Deleted
        {
            get;
            set;
        }

        /// <summary>
        /// 显示顺序
        /// </summary>
        public virtual int DisplayOrder
        {
            get;
            set;
        }

        /// <summary>
        /// 创建时间
        /// </summary>
        public virtual DateTime CreatedOn
        {
            get;
            set;
        }

        /// <summary>
        /// 最后修改时间
        /// </summary>
        public virtual DateTime UpdatedOn
        {
            get;
            set;
        }
    }
}
